<html>
<head><meta charset="utf-8"><title>Where can I find compiler&#x27;s messages? · t-compiler/help-wanted · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/212497-t-compiler/help-wanted/index.html">t-compiler/help-wanted</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/212497-t-compiler/help-wanted/topic/Where.20can.20I.20find.20compiler&#x27;s.20messages.3F.html">Where can I find compiler&#x27;s messages?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="208884503"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/212497-t-compiler/help-wanted/topic/Where%20can%20I%20find%20compiler%27s%20messages%3F/near/208884503" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Federico Ponzi <a href="https://rust-lang.github.io/zulip_archive/stream/212497-t-compiler/help-wanted/topic/Where.20can.20I.20find.20compiler&#x27;s.20messages.3F.html#208884503">(Sep 02 2020 at 20:40)</a>:</h4>
<p>Hello,<br>
Rather new to the project, I'm still ramping up. I'm currently trying to tackle this: <a href="https://github.com/rust-lang/rust/issues/74015">https://github.com/rust-lang/rust/issues/74015</a><br>
When <a href="https://play.rust-lang.org/?version=stable&amp;mode=debug&amp;edition=2018&amp;gist=a7ca6ed92767f3b67a60b3c0e06996fe">compiling</a> it, I'm getting the following error: <code>help: cast through an integer first</code>. I've tried searching for this string (cast...first) on the rust-lang/rust project, but I couldn't find anything apart from some ui tests...</p>



<a name="208885368"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/212497-t-compiler/help-wanted/topic/Where%20can%20I%20find%20compiler%27s%20messages%3F/near/208885368" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/212497-t-compiler/help-wanted/topic/Where.20can.20I.20find.20compiler&#x27;s.20messages.3F.html#208885368">(Sep 02 2020 at 20:46)</a>:</h4>
<p>Your search probably fails because there is a format string there</p>



<a name="208885449"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/212497-t-compiler/help-wanted/topic/Where%20can%20I%20find%20compiler%27s%20messages%3F/near/208885449" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/212497-t-compiler/help-wanted/topic/Where.20can.20I.20find.20compiler&#x27;s.20messages.3F.html#208885449">(Sep 02 2020 at 20:47)</a>:</h4>
<p>I think the error you are searching for is emitted <a href="https://github.com/rust-lang/rust/blob/85fbf49ce0e2274d0acf798f6e703747674feec3/compiler/rustc_typeck/src/check/cast.rs#L256">here</a></p>



<a name="208885640"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/212497-t-compiler/help-wanted/topic/Where%20can%20I%20find%20compiler%27s%20messages%3F/near/208885640" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/212497-t-compiler/help-wanted/topic/Where.20can.20I.20find.20compiler&#x27;s.20messages.3F.html#208885640">(Sep 02 2020 at 20:49)</a>:</h4>
<p>Nevermind, actually, <a href="https://github.com/rust-lang/rust/blob/85fbf49ce0e2274d0acf798f6e703747674feec3/compiler/rustc_typeck/src/check/cast.rs#L275">the integer error is emitted a few lines below</a>.</p>



<a name="208885642"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/212497-t-compiler/help-wanted/topic/Where%20can%20I%20find%20compiler%27s%20messages%3F/near/208885642" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Federico Ponzi <a href="https://rust-lang.github.io/zulip_archive/stream/212497-t-compiler/help-wanted/topic/Where.20can.20I.20find.20compiler&#x27;s.20messages.3F.html#208885642">(Sep 02 2020 at 20:49)</a>:</h4>
<p><span aria-label="face palm" class="emoji emoji-1f926" role="img" title="face palm">:face_palm:</span> The possibility didn't cross my mind for some reason, thanks for the fast response!</p>



<a name="208885697"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/212497-t-compiler/help-wanted/topic/Where%20can%20I%20find%20compiler%27s%20messages%3F/near/208885697" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/212497-t-compiler/help-wanted/topic/Where.20can.20I.20find.20compiler&#x27;s.20messages.3F.html#208885697">(Sep 02 2020 at 20:49)</a>:</h4>
<p>Made the same mistake in the past <span aria-label="grinning face with smiling eyes" class="emoji emoji-1f601" role="img" title="grinning face with smiling eyes">:grinning_face_with_smiling_eyes:</span></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>